package com.kingyea.esb.test.ws;

import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;

@Produces("text/plain")
@Path("/")
public interface JaxRsTestService {
	
	@GET @POST
	@Path("/ws/sum/{a}/{b}")
	int sum(@PathParam("a")int a, @PathParam("b")int b);
}
